package com.rc.saas.mini.vo.member;

import com.rc.saas.mini.model.member.MemberTicket;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * @author wangzhengwei
 * @create 2021/5/10
 */
public class MemberTicketVo extends MemberTicket {
    @ApiModelProperty(value = "优惠类型,0立减 1打折 默认0")
    private String discountType;
    @ApiModelProperty(value = "当discount_type=0时，优惠金额")
    private BigDecimal discountAmount;
    @ApiModelProperty(value = "当discount_type=1时，折扣率 0-1")
    private BigDecimal discount;
    @ApiModelProperty(value = "适用消费金额(use_require)")
    private BigDecimal useRequireAmount;
    @ApiModelProperty(value = "优惠金额(refund)")
    private BigDecimal reducedAmount;

    private String remark;
    @ApiModelProperty(value = "0未使用，1使用，2过期 ，默认全部")
    private String usingStatus;

    private String ticketName;

    public String getTicketName() {
        return ticketName;
    }

    public void setTicketName(String ticketName) {
        this.ticketName = ticketName;
    }

    public String getUsingStatus() {
        return usingStatus;
    }

    public void setUsingStatus(String usingStatus) {
        this.usingStatus = usingStatus;
    }

    public String getDiscountType() {
        return discountType;
    }

    public void setDiscountType(String discountType) {
        this.discountType = discountType;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public BigDecimal getUseRequireAmount() {
        return useRequireAmount;
    }

    public void setUseRequireAmount(BigDecimal useRequireAmount) {
        this.useRequireAmount = useRequireAmount;
    }

    public BigDecimal getReducedAmount() {
        return reducedAmount;
    }

    public void setReducedAmount(BigDecimal reducedAmount) {
        this.reducedAmount = reducedAmount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
